package com.nt.oam.service;

import java.util.List;

import com.nt.oam.domain.AntHospitalOamRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nt.oam.vo.record.AllMessageVo;
import com.nt.oam.vo.record.OamOtherMessageVo;
import com.nt.oam.vo.record.OamRecordDetailVo;

/**
 * 运维记录Service接口
 *
 * @author JZFeng
 * @date 2025-02-05
 */
public interface IAntHospitalOamRecordService extends IService<AntHospitalOamRecord> {
    /**
     * 查询运维记录
     *
     * @param oamRecordId 运维记录主键
     * @return 运维记录
     */
    public AntHospitalOamRecord selectAntHospitalOamRecordByOamRecordId(Long oamRecordId);

    /**
     * 查询运维记录列表
     *
     * @param antHospitalOamRecord 运维记录
     * @return 运维记录集合
     */
    public List<AntHospitalOamRecord> selectAntHospitalOamRecordList(AntHospitalOamRecord antHospitalOamRecord);

    /**
     * 新增运维记录
     *
     * @param antHospitalOamRecord 运维记录
     * @return 结果
     */
    public int insertAntHospitalOamRecord(AntHospitalOamRecord antHospitalOamRecord);

    /**
     * 修改运维记录
     *
     * @param antHospitalOamRecord 运维记录
     * @return 结果
     */
    public int updateAntHospitalOamRecord(AntHospitalOamRecord antHospitalOamRecord);

    /**
     * 批量删除运维记录
     *
     * @param oamRecordIds 需要删除的运维记录主键集合
     * @return 结果
     */
    public int deleteAntHospitalOamRecordByOamRecordIds(Long[] oamRecordIds);

    /**
     * 删除运维记录信息
     *
     * @param oamRecordId 运维记录主键
     * @return 结果
     */
    public int deleteAntHospitalOamRecordByOamRecordId(Long oamRecordId);

    /**
     * 查询运维记录详情信息
     *
     * @param oamRecordId 运维记录主键
     * @return 运维记录
     */
    public AntHospitalOamRecord selectOamRecordDeatilVo(Long oamRecordId);

    /**
     * 运维记录其他信息： 资产信息，
     */
    public OamOtherMessageVo selectOamOtherMessage(Long projectId);
    /**
     * 所有信息
     */
    public AllMessageVo selectAllMessage(Long hospitalId);

    /**
     *  查询是否在修改
     */
    public int selectRecordModify(Long recordId);

    /**
     * 重新设置修改状态
     */
    public int updateRecordModify(Long RecordId,Integer isModify);
}
